<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>


<xsl:template match="users">

		<div style="padding:10px;">
		<span style="color:black;" class="bodyB"><xsl:value-of select="@totusers"/></span> utenti totali,
		<span style="color:black;" class="bodyB"><xsl:value-of select="@dusers"/></span> login nelle 24h,
		<span style="color:black;" class="bodyB"><xsl:value-of select="@wusers"/></span> login in 7gg,
		<span style="color:black;" class="bodyB"><xsl:value-of select="@musers"/></span> login nel mese
		</div>

	<div style="padding:10px;">
	<xsl:choose>
		<xsl:when test="floor( @authlevel div 16384 ) mod 2">
			<xsl:choose>
			<xsl:when test='@wpic&gt;0'><a href="/admin/picturesWaiting4ApprovalRules.aspx">Foto del profilo da approvare <span style="color:red;" class="bodyB"><xsl:value-of select="@wpic"/></span></a></xsl:when>
			<xsl:otherwise>Foto del profilo da approvare <span style="color:black;" class="bodyB"><xsl:value-of select="@wpic"/></span></xsl:otherwise>
			</xsl:choose>
			<br/>
			<xsl:choose>
			<xsl:when test='@wpgal&gt;0'><a href="/admin/photoGalleriesWaiting4ApprovalRules.aspx">Gallery personali da approvare <span style="color:red;" class="bodyB"><xsl:value-of select="@wpgal"/></span></a></xsl:when>
			<xsl:otherwise>Gallery personali da approvare <span style="color:black;" class="bodyB"><xsl:value-of select="@wpgal"/></span></xsl:otherwise>
			</xsl:choose>
		</xsl:when>
		<xsl:otherwise>
			<xsl:choose>
			<xsl:when test='@wpic&gt;0'>Foto del profilo da approvare <span style="color:red;" class="bodyB"><xsl:value-of select="@wpic"/></span></xsl:when>
			<xsl:otherwise>Foto del profilo da approvare <span style="color:black;" class="bodyB"><xsl:value-of select="@wpic"/></span></xsl:otherwise>
			</xsl:choose>
			<br/>
			<xsl:choose>
			<xsl:when test='@wpgal&gt;0'>Gallery personali da approvare <span style="color:red;" class="bodyB"><xsl:value-of select="@wpgal"/></span></xsl:when>
			<xsl:otherwise>Gallery personali da approvare <span style="color:black;" class="bodyB"><xsl:value-of select="@wpgal"/></span></xsl:otherwise>
			</xsl:choose>
		</xsl:otherwise>
	</xsl:choose>
	</div>

	<div style="padding:10px;">
		<xsl:choose>
			<xsl:when test="floor( @authlevel div 2048 ) mod 2">
				<xsl:choose>
				<xsl:when test='@wcer&gt;0'><a href="/admin/accountsWaiting4CertifyRules.aspx">Utenti da certificare <span style="color:red;" class="bodyB"><xsl:value-of select="@wcer"/></span></a></xsl:when>
				<xsl:otherwise>Utenti da certificare <span style="color:black;" class="bodyB">0</span></xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:otherwise>
				<xsl:choose>
				<xsl:when test='@wcer&gt;0'>Utenti da certificare <span style="color:red;" class="bodyB"><xsl:value-of select="@wcer"/></span></xsl:when>
				<xsl:otherwise>Utenti da certificare<span style="color:black;" class="bodyB">0</span></xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</div>

	<div style="padding:10px;">
		<xsl:choose>
			<xsl:when test="floor( @authlevel div 64 ) mod 2">
				<xsl:choose>
				<xsl:when test='@abuser&gt;0'><a href="/admin/abusers.aspx">Utenti segnalati ad abuse <span style="color:red;" class="bodyB"><xsl:value-of select="@abuser"/></span></a></xsl:when>
				<xsl:otherwise>Utenti segnalati ad abuse <span style="color:black;" class="bodyB">0</span></xsl:otherwise>
				</xsl:choose>
				<br/>
				<xsl:choose>
				<xsl:when test='@bannedip&gt;0'><a href="/admin/abusers.aspx?listbannedip=1">banned ip <span style="color:red;" class="bodyB"><xsl:value-of select="@bannedip"/></span></a></xsl:when>
				<xsl:otherwise>Banned ip <span style="color:black;" class="bodyB">0</span></xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:otherwise>
				<xsl:choose>
				<xsl:when test='@abuser&gt;0'>Utenti segnalati ad abuse <span style="color:red;" class="bodyB"><xsl:value-of select="@abuser"/></span></xsl:when>
				<xsl:otherwise>Utenti segnalati ad abuse <span style="color:black;" class="bodyB">0</span></xsl:otherwise>
				</xsl:choose>
				<br/>
				<xsl:choose>
				<xsl:when test='@bannedip&gt;0'>banned ip <span style="color:red;" class="bodyB"><xsl:value-of select="@bannedip"/></span></xsl:when>
				<xsl:otherwise>Banned ip <span style="color:black;" class="bodyB">0</span></xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</div>


	<div style="padding:10px;">
		<xsl:choose>
			<xsl:when test="floor( @authlevel div 4096 ) mod 2">
				<xsl:choose>
				<xsl:when test='@wnuk&gt;0'><a href="/admin/accountsWaiting4Nuke.aspx">Utenti in attesa di cancellazione <span style="color:red;" class="bodyB"><xsl:value-of select="@wnuk"/></span></a></xsl:when>
				<xsl:otherwise>Utenti in attesa di cancellazione <span style="color:black;" class="bodyB">0</span></xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:otherwise>
				<xsl:choose>
				<xsl:when test='@wnuk&gt;0'>Utenti in attesa di cancellazione <span style="color:red;" class="bodyB"><xsl:value-of select="@wnuk"/></span></xsl:when>
				<xsl:otherwise>Utenti in attesa di cancellazione <span style="color:black;" class="bodyB">0</span></xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</div>

	<div style="padding:10px;">
		<xsl:choose>
			<xsl:when test="floor( @authlevel div 4096 ) mod 2">
				<xsl:choose>
				<xsl:when test='@mails&gt;0'><a href="/admin/mails.aspx">Mail da confermare <span style="color:red;" class="bodyB"><xsl:value-of select="@mails"/></span></a></xsl:when>
				<xsl:otherwise>Mail da confermare <span style="color:black;" class="bodyB">0</span></xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:otherwise>
				<xsl:choose>
				<xsl:when test='@mails&gt;0'>Mail da confermare <span style="color:red;" class="bodyB"><xsl:value-of select="@mails"/></span></xsl:when>
				<xsl:otherwise>Mail da confermare <span style="color:black;" class="bodyB">0</span></xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</div>


</xsl:template>

</xsl:stylesheet>